
export const bbbRoute = [
    {
        path: '/',
        component: () => import('@/layout/index.vue'),
        name: 'layout',
        meta: {
        title: '',
        hidden: false,
        icon: ''
        },
        redirect: '/home',
        children: [
        {
            path: '/home',
            component: () => import('@/views/home/index.vue'),
            meta: {
            title: '首页',
            hidden: false,
            icon: 'House'
            }
        }
        ]
    },
  {
    path: '/produce',
    component: () => import('@/layout/index.vue'),
    name: 'produce',
    meta: {
      title: '生产模块',
      icon: 'Aim',
      hidden: false,
    },
    redirect: '/produce/bom',
    children: [
      {
        path: '/produce/bom',
        component: () => import('@/views/produce/bom/index.vue'),
        name: 'bom',
        meta: {
          title: 'BOM',
          hidden: false,
          icon: 'Connection'
        }
      },
      {
        path: '/produce/wip',
        component: () => import('@/views/produce/wip/index.vue'),
        name: 'wip',
        meta: {
          title: 'WIP',
          hidden: false,
          icon: 'PriceTag'
        }
      }
    ]
  },
  {
    path: '/finance',
    component: () => import('@/layout/index.vue'),
    name: 'finance',
    redirect: '/finance/bx',
    meta: {
      title: '财务模块',
      icon: 'Goods',
      hidden: false
    },
    children: [
      {
        path: '/finance/bx',
        component: () => import('@/views/finance/bx/index.vue'),
        name: 'bx',
        meta: {
          title: 'bx',
          icon: 'ShoppingCartFull',
          hidden: false
        }
      },
      {
        path: '/finance/tz',
        component: () => import('@/views/finance/tz/index.vue'),
        name: 'tz',
        meta: {
          title: 'TZ',
          icon: 'ChromeFilled',
          hidden: true
        }
      },
    ]
  }
]
